<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* 第一步：生成字体 */
      @font-face {
        font-family: 'iconfont';
        src: url('./fonts/iconfont.eot');
        src: url('./fonts/iconfont.eot?#iefix') format('embedded-opentype'), url('./fonts/iconfont.woff2') format('woff2'), url('./fonts/iconfont.woff') format('woff'), url('./fonts/iconfont.ttf') format('truetype'), url('./fonts/iconfont.svg#iconfont') format('svg');
      }
      span {
        font-family: 'iconfont';
      }
    </style>
  </head>
  <body>
    <span>&#xe659;</span>
  </body>
</html>
